package com.two.shopping.mapper;


import com.two.shopping.pojo.Orders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IAppraiseMapper {
    //评论商品
    @Insert("insert into appraise (user_id,commodity_id,appraise,update_time," +
            "create_time) values (#{userId},#{commodityId},#{appraise},#{updateTime},#{updateTime})")
    void ordersCommodity(Orders orders);
}
